

function enviar_formulario(){
var oForm  = document.form1;
var e = 0;
	
	
	if (oForm.txtTit.value == ""){
		alert("Ingrese nombre recurso"); oForm.txtTit.focus(); e=1; return (false);}
		
		
		
	
	if (oForm.txtTem.value == "seleccionar"){
		alert("Seleccione tipo de recurso"); oForm.txtTem.focus(); e=1; return (false);}
	
	
	if (oForm.imagen.value == ""){
		alert("Seleccionar imagen tomando en cuenta medida solicitada"); oForm.imagen.focus(); e=1; return (false);}

	
		
	if (e==0){
		oForm.hProcesar.value = 1;
		oForm.submit();
		}
}
		
		
		
		tinyMCE.init({



        mode : "textareas",



        theme : "advanced",
plugins : "imgsurfer",
        theme_advanced_buttons4 : "imgsurfer",





});



function MM_effectBlind(targetElement, duration, from, to, toggle)



{



	Spry.Effect.DoBlind(targetElement, {duration: duration, from: from, to: to, toggle: toggle});



}



